div.myTableGrid {
    font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
    font-size: 11px;
}

div.mtgHeaderRow  {
    background: url('../../js/tablegrid/images/mtg/hrow.gif') repeat-x;
    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    cursor: default;
}

div.mtgBody {
    border: solid 1px #ccc;
    border-top: solid 1px #eee;
}

div.mtgHeaderTitle {
    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    background-color: #eee;
    font-weight: bold;
    color: black;
}

div.mtgToolbar {
    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    background-color: #eee;
}

div.mtgPager {
    background-color: #eee;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
    cursor: default;
    padding: 2px;
}

input.mtgPageInput {
    font-size: 11px;
    width: 25px;
    margin: 0;
}

span.mtgPagerMsg {
    float: left;
    padding: 2px;
}

table.mtgPagerTable {
    float: right;
    font-size: 11px;
    margin: 0;
}

table.mtgPagerTable td {
    padding-left: 2px;
    padding-right: 2px;
}

table.mtgHeaderRowTable {
    padding: 0;
    color: black;
    text-align: left;
    table-layout: fixed;
}

table.mtgBodyTable {
    table-layout: fixed;
    position: relative;
    z-index: 0;
}

table.mtgBodyTable td  {
    border-bottom: solid 1px #ddd;
    padding: 0;
}

th.mtgHeaderCell {
    border-left: 1px solid #fff;
    border-right: 1px solid #ddd;
}

td.mtgCell {
    border-left: 1px solid white;
    /*border-left: 1px solid transparent;*/
    border-right: 1px solid #ddd;
}

td div.mtgInnerCell {
    position: relative;
    white-space: nowrap;
    font-size: 11px;
}

tr.hightlight {
    background-color: #eef;
}

tr.focus {
    background-color: #e6d7f5;
}

td.focus {
    border-left: solid 1px #90c;
}

td.focus div.mtgInnerCell {
    background-color: #90c;
    color: white;
}

td div.more {
   background: url('../../js/tablegrid/images/mtg/more.gif') no-repeat right bottom;
}

th div.mtgInnerHeaderCell {
    position: relative;
    white-space: nowrap;
    font-size: 11px;
}

div.mtgHS {
    cursor: w-resize;
    cursor: col-resize !important;
    overflow: hidden;
    /*background-color: #d0d0d0;*/
    background-color: #fff;
}

div.mtgResizeMarker {
    cursor: col-resize !important;
    cursor: w-resize;
    position: absolute;
    width: 2px;
    background-color: transparent;
    z-index : 300;
}

div.dragColumn {
    position: absolute;
    background: url('../../js/tablegrid/images/mtg/hrow.gif') repeat-x;
    padding: 3px;
    z-index: 0;
    border: solid 1px #ccc;
    visibility: hidden;
    font-size: 11px;
    font-weight: bold;
}

div.drop-no {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    background: url('../../js/tablegrid/images/mtg/no.gif') no-repeat center;
}

div.drop-yes {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    background: url('../../js/tablegrid/images/mtg/yes.gif') no-repeat center;
}

input.mtgInputCheckbox {
    height: 12px;
}

input.mtgInputRadio {
    height: 12px;
}

input.mtgInputText {
    padding: 3px;
    margin: 0;
    /*border: solid 1px #609;*/
    border: none;
    font-size: 10px;
    background-color: white;
    outline: none
}

div.mtgComboBoxBtn {
    position: absolute;
    top: 2px;
    right: 0;
    background: url('../../js/tablegrid/images/mtg/cbb.png') no-repeat;
    border: 0;
    border-left: 2px solid  #609;
    width: 16px;
    height: 20px;
    padding: 0;
    margin: 0;
}

div.mtgCalendarBtn {
    position: absolute;
    top: 2px;
    right: 0;
    background: url('../../js/tablegrid/images/mtg/calb.png') no-repeat;
    border: 0;
    border-left: 2px solid  #609;
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
}

div.mtgBrowseBtn {
    position: absolute;
    top: 2px;
    right: 0;
    background: url('../../js/tablegrid/images/mtg/magb.png') no-repeat;
    border: 0;
    border-left: 2px solid  #609;
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
}

div.mtgHeaderButton {
    position: absolute;
    background: url('../../js/tablegrid/images/mtg/ddn.png') center no-repeat;
    border-left: solid #eee 1px;
    visibility: hidden;
    z-index: 50;
}

div.mtgMenu {
    position: absolute;
    width: 200px;
    overflow: auto;
    background: #ddd url('../../js/tablegrid/images/mtg/menu.gif') repeat-y;
    z-index: 100;
    visibility : hidden;
    border: 1px solid #609;
}

div.mtgMenu ul {
    margin: 3px;
    padding: 0;
}

div.mtgMenu ul li {
    position: relative;
    list-style-type: none;
    padding: 0;
}

a.mtgMenuItem {
    position: relative;
    display: block;
    color: black;
    text-decoration: none;
    cursor: default;
    font-weight: bold;
    line-height: 20px;

}

a.mtgMenuItem:hover {
    background-color: #609;
    text-decoration: none;
    color: white;
}

.mtgMenuItemIcon {
    position: absolute;
    top:0;
    left:0;
    margin: 2px;
    padding: 0;
}

.mtgMenuItemChk {
    margin: 0;
    padding: 0;
}

div.mtgSettingButton {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    background: url('../../js/tablegrid/images/mtg/settings.gif') center no-repeat;
    z-index: 100;
    padding: 1px;
}

img.mtgSortAscendingIcon {

}

img.mtgSortDescendingIcon {

}

span.addbutton {
    background: url('../../js/tablegrid/images/mtg/add.png') left center no-repeat;
}

span.delbutton {
    background: url('../../js/tablegrid/images/mtg/close.png') left center no-repeat;
}

span.savebutton {
    background: url('../../js/tablegrid/images/mtg/save.png') left center no-repeat;
}

a.toolbarbtn {
    float: left;
    color: black;
    text-decoration: none;
    padding: 2px;
    border: 1px solid transparent;
}
a.toolbarbtn span {
    padding: 3px 3px 3px 20px;
}

a.toolbarbtn:hover {
    background-color: #eef;
    border: 1px solid #ccc;
}

div.toolbarsep  {
    float: left;
    width: 0;
    height: 100%;
    border-left: 1px solid #ccc;
    border-right: 1px solid white;
    margin: 0 5px;
}

/* Autocomplete */
div.autocomplete {
    position: absolute;

    font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: black;

    width: 250px;
    background-color: white;
    border: 1px solid #ccc;
    margin: 0;
    padding: 0;
}
div.autocomplete ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div.autocomplete ul li {
    list-style-type: none;
    display: block;
    margin: 0;
    padding: 3px;
    height: 18px;
    cursor: pointer;
    vertical-align: middle;
}

div.autocomplete ul li.selected {
    background-color: #e6d7f5;
}

a.mtgPagerCtrl {
    cursor: pointer;
}

img.mtgFirstPage {
    background: url(../../js/tablegrid/images/mtg/first.gif) no-repeat center;
}

img.mtgPrevPage {
    background: url(../../js/tablegrid/images/mtg/prev.gif) no-repeat center;
}

img.mtgNextPage {
    background: url(../../js/tablegrid/images/mtg/next.gif) no-repeat center;
}

img.mtgLastPage {
    background: url(../../js/tablegrid/images/mtg/last.gif) no-repeat center;
}

img.mtgSep {
    background: url(../../js/tablegrid/images/mtg/y-sep.png) no-repeat center;
}

.dropshadow {
    background: url(../../js/tablegrid/images/mtg/shadowAlpha.png) no-repeat bottom right    !important;
    background: url(../../js/tablegrid/images/mtg/shadow.gif) no-repeat bottom right;
    margin: 10px 0 10px 10px !important;
    margin: 10px 0 10px 5px;
}
.dropshadow div {
    position:relative;
    bottom:6px;
    right: 6px;
    border: 1px solid dimgray;
    padding:4px;
    font-size:14px;
    margin: 0px;
    background-color:white;
}
